<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mod_currency extends CI_Controller {
    function  __construct(){
        parent::__construct();
    }
    function index(){
        $data['currency'] = $this->session->userdata('currency');
        $this->load->view('mod_currency/currency',$data);
        
    }
    function ajax(){
        //echo $_POST['currency'];
        $this->session->set_userdata('currency',$_POST['currency']);
    }
}